export function timestampToTime(timestamp){
    var now = new Date(timestamp*1000)
    var year = now.getFullYear()
    var month = now.getMonth()+1
    var date = now.getDate()
    var minute = now.getMinutes()
    var second = now.getSeconds()
    return year+"-"+month+"-"+date+" "+minute+":"+second
}